package com.xinyue.user.dao;

import com.xinyue.user.pojo.Message;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MessageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Message record);

    Message selectByPrimaryKey(Integer id);

    List<Message> selectAll();

    int updateByPrimaryKey(Message record);

    Message selectById(@Param("sid")Integer sid,@Param("rid")Integer rid);
    
}